package com.easygoods.request;

import com.bestvike.stone.spring.exception.AssertUtils;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Created by 许崇雷 on 2019-01-15.
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AddressModifyRequest extends AddressAddRequest {
    private String id;

    @Override
    public void assertValid() {
        super.assertValid();
        AssertUtils.hasText(this.id, "id");
    }
}
